package com.itheima.service;

import com.itheima.DTO.OrderDTO;
import com.itheima.common.entity.PageResult;
import com.itheima.pojo.Order;

import java.time.LocalDate;

public interface OrderService {

    /**
     * 分页查询
     * @param orderDTO
     * @return
     */
    PageResult pageQuery(OrderDTO orderDTO);


    /**
     * 修改预约状态
     * @param OrderDTO
     * @return
     */
    int update(Order OrderDTO);


    /**
     * 今日到诊人数
     * @return
     */
    Integer todayVisitsNumber(LocalDate reportDate);

    //本周到诊人数
    Integer thisWeekVisitsNumber(LocalDate reportDate);
    //本月到诊人数
    Integer thisMonthVisitsNumber(LocalDate reportDate);

}
